import { createApp } from 'vue'
import { createPinia } from 'pinia'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import Vuex from 'vuex'
import Store from './stores'
import App from './App.vue'
import router from './router'
import axios from "./utils/axios.js";
import './assets/main.css'


const app = createApp(App)

app.use(Store)
app.use(Vuex)
app.use(createPinia)
app.use(router)
app.use(ElementPlus, {
    locale: zhCn,
})
app.mount('#app')
app.config.globalProperties.$axios = axios;
